#!/bin/bash

echo "“Instalando SDL“";

sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev;

echo "“Configurando JsonCpp“";

echo "Instalando JsonCpp";

cd jsoncpp/;

python scons.py platform=linux-gcc check;

echo "Configurando JsonCpp";

cd libs/;
CONTENIDOLIBS=`ls`
cd  $CONTENIDOLIBS
NOMBREBIBLIOTECA=`ls *.so`
cd ..
cd ..

sudo cp "libs/$CONTENIDOLIBS/$NOMBREBIBLIOTECA" /usr/lib ;
sudo mkdir /usr/include/jsoncpp;
sudo cp include/json/* /usr/include/jsoncpp;

echo "“Instalando GTK“";

sudo apt-get install libsigc++ 2.0
sudo apt-get install libgtkmm-2.4-1c2a libgtkmm-3.0-dev build-essential

echo "“Instalando MD5“"

sudo apt-get install libssl-dev

clear
echo "“Instalación finalizada“";
